package com.csair.demo.services;

import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import com.csair.demo.pojo.Schedule;


public interface IScheduleService {
	
	@Transactional
	public void saveSchedule(Schedule schedule) throws Exception;
	
	@Transactional
	public void updateSchedule(Schedule schedule) throws Exception;

	@Transactional
	public void deleteSchedule(Long id) throws Exception;

	@Transactional
	public Schedule getScheduleById(Long id) throws Exception;
	
	@Transactional
	public List<Schedule> getAllSchedule() throws Exception;
	
}
